<template>
  <div class="dashboard-container">
  </div>
</template>

<script>
    export default {
      name: 'dashboard',
      created() {
          window.console.log(this.$store.getters.roles);
          if (this.$store.getters.roles.indexOf('statistics') >= 0) {
              this.$router.replace('/statuser/index');
          } else {
              this.$router.replace('/course/index');
          }
      }
    }
</script>

